package com.company.hrmadmin.modules.entity.dto.salary;

import com.company.hrmadmin.modules.entity.dto.page.BaseListQueryDTO;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Arrays;
import java.util.List;

/**
 * 薪资列表排序字段DTO对象
 *
 * @author Song, Wei
 * Date: 2022/4/15 11:21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "薪资列表查询DTO对象")
public class SalarySortListDTO extends BaseListQueryDTO {

    /**
     * 根据名称进行排序
     */
    private String name;

    /**
     * 列表排序字段取值范围
     */
    private List<String> sortList = Arrays.asList("payroll", "payable", "personal_income_tax");
}
